package com.task.service.impl;

import com.task.dao.ArticleDao;
import com.task.domain.Article;
import com.task.service.ArticleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("articleService")
public class ArticleServiceImpl implements ArticleService {
    @Autowired
    private ArticleDao articleDao;
    public void save(Article article) {
        System.out.println("service层服务");
        articleDao.save(article);

    }
}
